package com.yongren.mall.goods.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 商品类别
 * </p>
 *
 * @author yongren
 * @since 2021-07-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "Category对象", description = "商品类别")
public class Category implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "父标识")
    private Long parentId;

    @ApiModelProperty(value = "名称")
    private String name;


}
